package flextv.main.test {

import flextv.data.PersistenceServiceTest;

import flexunit.framework.TestSuite;
	

public class TestRepository {
	
	/** injected by spring */
	public var persistenceServiceTest: PersistenceServiceTest;
	
	public function fillTestSuite(suite: TestSuite): void {
		suite.addTest(this.persistenceServiceTest);
	}

	private static var INSTANCE: TestRepository; 
	public function TestRepository(singletonEnforcer: SingletonEnforcer) { }	
	public static function getInstance(): TestRepository {
		if(INSTANCE == null) { INSTANCE = new TestRepository(new SingletonEnforcer()); }
		return INSTANCE;
	}

}
}

class SingletonEnforcer { }